Skip to content

[MCC-1476014] Python Lib-Create Fetch_data() function - #21

Closed
afieraru-mdsol wants to merge 4 commits into
mainfrom
feat/MCC-1476014
Closed

[MCC-1476014] Python Lib-Create Fetch_data() function#21
afieraru-mdsol wants to merge 4 commits into
mainfrom
feat/MCC-1476014

Conversation

@afieraru-mdsol

Copy link
Copy Markdown
Contributor

feature/bug/enhance/refactor/tech_debt/hotfix

Checklist

  • Review the pull request to fix typos and ensure variable/function names are intuitive, etc.
  • Make sure the pull request does not have excessive number of unnecessary commits. Utilize the git commit --amend --no-edit command to reduce commit messages when making small file changes (like changing linespacing).
  • Make sure you have added unit tests for the code changes. Tests should be added in the tests/ folder.
  • Modify docs, if required. Add any new documentation in the doc/ folder.
  • Rebase on latest active development branch (develop/main).

Changes Summary

  • Create fetch_data() function

Copilot AI review requested due to automatic review settings May 8, 2026 12:25
@afieraru-mdsol
afieraru-mdsol marked this pull request as draft May 8, 2026 12:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new fetch_data() capability to the DataConnect Python SDK, wiring a new service action through the Arrow Flight transport, service layer, and public client API.

Changes:

  • Add a new Arrow Flight action mapping for "data.fetch_ticket".
  • Add fetch_data() to the service interface and implement it in the default service.
  • Expose fetch_data() on DataConnectClient and add a mapper intended to return pandas DataFrames.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
dataconnect/transport/arrow_flight/transport.py Adds Arrow Flight action mapping for the new data fetch action.
dataconnect/service/mappers.py Introduces a new mapper intended to convert a ResourceInfo into a pandas DataFrame.
dataconnect/service/default.py Implements fetch_data() by issuing a ResourceQuery and mapping results.
dataconnect/service/base.py Extends the DataConnectService interface with fetch_data().
dataconnect/client.py Adds a fetch_data() method to the public client API.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread dataconnect/service/mappers.py Outdated
Comment thread dataconnect/service/mappers.py Outdated
Comment thread dataconnect/service/default.py Outdated
Comment thread dataconnect/service/default.py Outdated
Comment thread dataconnect/service/base.py
Comment thread dataconnect/service/base.py
Comment thread dataconnect/client.py
Comment thread dataconnect/client.py Outdated
Comment thread dataconnect/client.py Outdated
Comment thread dataconnect/service/default.py
@ibaig-mdsol
ibaig-mdsol deleted the feat/MCC-1476014 branch June 8, 2026 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants